package com.kkd.springbootproject.pojo;

import org.springframework.stereotype.Component;

/**
 * @author 14587
 * @date 2021/1/13 15:02
 */
@Component
public class Dog {
    private String name;
    public Dog() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                '}';
    }
}
